// *********************************************************
//      Copyright (c) Kosta Gaitanis
//      All rights reserved
//
//      k.gaitanis@gmail.com
//
// *********************************************************

#ifndef CAMERAWIDGET_H
#define CAMERAWIDGET_H

#include "Camera.h"
#include "GUI/CollapsibleWidget.h"

class CameraWidget : public CollapsibleWidget
{
    Q_OBJECT
public:
    explicit CameraWidget(Camera* camera, QWidget *parent = 0);

signals:
    void cameraChanged();

private slots:
    void onChanged();
    void onCameraChanged();

private:
    Camera *m_camera;
    QDoubleSpinBox *m_fov, *m_aspectRatio, *m_near, *m_far;

};

#endif // CAMERAWIDGET_H
